package common.validator
{
	import mx.controls.Alert;
	import mx.validators.NumberValidator;

	public class NumberValidatorEx extends NumberValidator
		
	{
		override protected function doValidation(value:Object):Array
		{
			var results:Array = super.doValidation(value);
			
			// Return if there are errors
			// or if the required property is set to <code>false</code> and length is 0.
			var val:String = value ? String(value) : "";
			//Alert.show(results.length+"=====");

				return null;
			
		}
	}
}